package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.transportline.TransportLineDto;
import com.itheima.pinda.common.utils.PageResponse;
import com.itheima.pinda.entity.transportline.PdTransportLine;

import java.util.List;

public interface PdTransportLineService extends IService<PdTransportLine> {


    TransportLineDto saveTransportLine(TransportLineDto dto);

    PageResponse<TransportLineDto> findByPage(Integer page,
                                              Integer pageSize,
                                              String lineNumber,
                                              String name,
                                              String transportLineTypeId);

    List<TransportLineDto> findAll(List<String> ids, String agencyId, List<String> agencyIds);

    List<TransportLineDto> getList(TransportLineDto transportLineDto);
}
